package com.ruoyi.tzzl.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 红娘申请对象 wz_matchmaker_apply
 * @author by caoyong
 * @date 2022/11/9
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wz_matchmaker_apply")
public class WzMatchmakerApply {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO) //id自动递增
    private Long id;

    /**用户id*/
    private Long userId;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String userName;

    /** (性别:1-男 2-女) */
    @Excel(name = "(性别:1-男 2-女)")
    private String sex;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private Long phone;

    /** 申请地区 */
    @Excel(name = "申请地区")
    private String location;

    /**是否有门店(0-无 1-有)*/
    private String whetherStore;

    /**类型(0-申请红娘, 1-取消红娘)*/
   private String type;

    /** 状态(0-待审核  1-审核通过 2-审核拒绝) */
    @Excel(name = "状态(0-待审核  1-审核通过 2-审核拒绝)")
    private String status;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;


}
